package com.rui.patterns.flyweight.jdk;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Demo
 * @createTime : [2022/2/23 16:24]
 * @description : [描述该类的功能]
 */

public class Demo {
    public static void main(String[] args) {
        Integer i1 = 127;
        Integer i2 = 127;

        System.out.println(i1.equals(i2));

        Integer i3 = 128;
        Integer i4 = 128;

        System.out.println(i3.equals(i4));
    }
}
